import { GlobalData } from '/store/state'

Component({
  properties: {
    list: { type: null, value: [] },
    currencyname: String,
  },
  data: {
    currencyname: GlobalData.currencyName,
  },
  methods: {
    knowAboutDetail(e: WechatMiniprogram.BaseEvent) {
      const id = e.currentTarget.dataset.id
      wx.navigateTo({
        url: `/index/knowAboutDetail/knowAboutDetail?id=${id}`,
      })
    },
  },
})
